import dataclasses as dc


@dc.dataclass
class Details:
    page_num: int
    page_size: int
    status: int
    customer_name: str
    order_key: str
    show_self: bool
    shop_id: int
    make_user_id: int
    get_user_id: int
    order_id: str
    oper_type: str
    link: str
    work_order_type: str


@dc.dataclass
class Tables:
    t_link: str
    t_level: str
    t_shop: str


@dc.dataclass
class DetailsResponse:
    total: int
    datas: []


@dc.dataclass
class DetailsData:
    id: int
    ww: str
    order_id: str
    shop_id: int
    make_user_id: int
    make_user_name: str
    get_user_id: int
    get_user_name: str
    cost: str
    total_size: int
    link: str
    priority: int
    bz: str
    status: int
    feedback: str
    oper_type: int


@dc.dataclass
class ShopsResponse:
    total: int
    datas: []


@dc.dataclass
class ShopData:
    id: int
    code: str
    shop_name: str
